package com.laowang.project.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 头衔对象 my_cyh_position
 *
 * @author laowang
 * @date 2023-08-29
 */
@NoArgsConstructor
@Data
public class MyCyhPosition implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 头衔名称
     */
    @Excel(name = "头衔名称")
    @ApiModelProperty(value = "头衔名称", required = false)
    private String name;

    /**
     * 价格
     */
    @Excel(name = "价格")
    @ApiModelProperty(value = "价格", required = false)
    private BigDecimal prcie;

    /**
     * 默认1启用,0关闭
     */
    @Excel(name = "默认1启用,0关闭")
    @ApiModelProperty(value = "默认1启用,0关闭", required = false)
    private Integer isUp;

    private Integer isGroupManager;//默认1是群管理,0非',

    private Integer vipExtra;//群友入会员管理的额外奖励',


    private Integer isEnable;//是否启用分佣',

    /**
     * 活动提成百分比
     */
    @Excel(name = "活动提成百分比")
    @ApiModelProperty(value = "活动提成百分比", required = false)
    private BigDecimal activityCommission;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间", required = false)
    private Date created;


}
